package com._520it.crm.web.controller;

import com._520it.crm.domain.TransferRecord;
import com._520it.crm.page.PageResult;
import com._520it.crm.query.ClientReportQueryObject;
import com._520it.crm.query.TransferRecordQueryObject;
import com._520it.crm.service.IClientReportService;
import com._520it.crm.service.ITransferRecordService;
import com._520it.crm.util.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ClientReportController {
    @Autowired
    private IClientReportService ClientReportService;
    @RequestMapping("/hiddenClientReport")
    public String hiddenClientReportIndex(){
        return "hiddenClientReport";
    }

    @RequestMapping("/hiddenClientReport/list")
    @ResponseBody
    public PageResult hiddenClientReportList(ClientReportQueryObject qo)
    {
        return ClientReportService.query(qo);
    }




    @RequestMapping("/formalClientReport")
    public String formalClientReportIndex(){
        return "formalClientReport";
    }

    @RequestMapping("/formalClientReport/list")
    @ResponseBody
    public PageResult formalClientReportList(ClientReportQueryObject qo)
    {
        return ClientReportService.query(qo);
    }


}
